<template>
  <div id="center_container">
    <div class="center_userInfo">
      <div class="center_top">
        <div class="center_top_title">
          <div class="center_title_left">个人中心<span class="center_title_right"><img class="center_make_img" src="../../assets/img/center/cener_make.png" alt=""></span></div>
        </div>
        <div class="center_middle_info">
          <div class="middle_info_content">
            <img class="user_phone avatar" src="../../assets/img/center/user_phone.png" alt="" >
            <div class="user_name">罗先生</div>
            <div class="user_position">HR招聘经理</div>
            <div class="center_state_left_one">还未认证完成认证开始背调<span class="center_state_right"><img class="center_state_img center_state_imgs" src="../../assets/img/center/user_auto.png" alt=""></span></div>
          </div>
        </div>
      </div>
      <div class="center_list">
        <group>
          <cell title="余额" is-link class="user_balance_title">
            <span slot="default" class="user_price" >¥ <span>199.00</span>元</span>
            <img class="user_balance" src="../../assets/img/center/center-one.png" slot="icon">
          </cell>
          <cell title="空间" is-link class="user_balance_title">
            <span slot="default" >15/20</span>
            <img class="user_space" src="../../assets/img/center/center-two.png" slot="icon">
          </cell>
          <cell title="当月消费" is-link class="user_balance_title">
            <span slot="default">¥ <span>199.00</span>元</span>
            <img class="user_current " src="../../assets/img/center/center-three.png" slot="icon">
          </cell>
        </group>
        <group>
            <cell title="邀请好友" is-link link="userFriends" class="user_balance_title">
              <span slot="default"></span>
              <img class="user_friends" src="../../assets/img/center/center-four.png" slot="icon">
            </cell>
            <cell title="用户反馈" is-link link="userFeedback" class="user_balance_title">
              <span slot="default" ></span>
              <img class="user_current " src="../../assets/img/center/center-five.png" slot="icon">
            </cell>
        </group>
        <group>
            <cell title="设置" is-link link="userSet" class="user_balance_title">
              <span slot="default" ></span>
              <img class="user_current " src="../../assets/img/center/center-six.png" slot="icon">
            </cell>
        </group>

      </div>
    </div>

  </div>
</template>

<script>
  import kHeader from '../common/head'
  import { Cell, Group, Alert, Confirm, XDialog  } from 'vux'
  import { TransferDomDirective as TransferDom } from 'vux'
  export default {
    name: 'userauthentication',
    directives: {
      TransferDom
    },
    data () {
      return {
        show:false
      }
    },
    components: {
      kHeader,
      Cell,
      Group,
      Alert,
      Confirm,
      XDialog
    },
    methods:{

    }

  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped >
  #center_container .center_top{
    background: url('../../assets/img/center/phone_bj.png') no-repeat;
    width: 100%;
    height: 250px;
    background-size: cover;
    /* position: absolute; */
  }
  /* .center_title_left{
    font-size: 1.8rem;
    color: #fff;
    text-align: center;
    height: 72px;
    line-height: 72px;
  } */
  .center_title_right{
    position: absolute;
    right: 6%;
  }
  .center_title_right .center_make_img{
    width: 15px;
    height: 15px;
  }
  .user_phone{
    width: 91px;
    height: 90px;
  }
  .center_middle_info{
    text-align: center;
  }
  .center_state_img{
    width: 50px;
    height: 15px;
  }
    .center_state_imgs{
    width: 66px !important;
    height: 26px !important;
    position: absolute;
  }
  .user_name{
    font-size: 2rem;
  }
  .center_middle_info{
    z-index: 998;
    position: relative;
    top: 25%;
    background-color: #fff;
    height: 148px;
    border-top-left-radius:100%;
    border-top-right-radius:100%;
    width: 110%;
    margin-left: -5%;
  }
  .middle_info_content{
    position: absolute;
    top: -45px;
    left: 5%;
    right: 5%;
  }
  .user_position{
    font-size: 1.2rem;
    color: #808080;
  }
  .center_state_left_one{
    font-size: 1.4rem;
    color: #848484;
    margin-top: 10px;
  }
  .center_state_right{
    margin-left: 4%;
  }
  .center_list{
    /* position: absolute; */
    width: 100%;
    top: 278px;
  }
  .user_balance_title{
    font-size: 1.4rem;
    color: #212121;
  }
  #center_container .vux-label{
    margin-left: 10px;
  }
  .user_balance{
    width: 19px;
    height: 16px;
  }
  .user_space{
    width: 14px;
    height: 15px;
  }
  .user_current{
    width: 16px;
    height: 16px;
  }
  .user_friends{
    width: 14px;
    height: 14px;
  }
  #center_container .user_price{
    color:#F89721;
  }


</style>
